#ifndef LISTORGANIZER_H
#define LISTORGANIZER_H

#include <QMainWindow>

namespace Ui {
    class ListOrganizer;
}

class ListOrganizer : public QMainWindow {
    Q_OBJECT
public:
    ListOrganizer(QWidget *parent = 0);
    ~ListOrganizer();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::ListOrganizer *ui;
    QDialog * tutorialDialog;
    bool saved;
    bool savedRecently;
    char * charFileName;
    int lastAction;

private slots:
    void Submit();
    void SortListAscending();
    void SortListDescending();
    void DeleteAllListItems();
    void DeleteSingleItem();
    void EditItem();
    void MoveItemUp();
    void MoveItemDown();
    void ShowItemOptions();
    void Exit();
    void AboutProduct();
    void Tutorial();
    void SaveList();
    bool SaveList2();
    void OpenList();
    void OpenList2();
    bool SaveAs();
    void NewList();
    void ModifiedSinceSave();
    void Verify();
    void AboutProductStatus();
    void TutorialStatus();
    void Undo();
    void Redo();
};

#endif // LISTORGANIZER_H
